package com.example.controller;


import com.example.common.result.Result;
import com.example.entity.dto.LocationLabelDto;
import com.example.entity.vo.CmsmcVo;
import com.example.entity.vo.LocationLabelVo;
import com.example.mapper.CmsmcMapper;
import com.example.service.CmsmcService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author LiangPandeng
 * @since 2024-03-06
 */
@Slf4j
@RestController
@RequestMapping("/api/cmsmc")
@Api(tags = "仓库信息档相关接口")
public class CmsmcController {
    @Resource
    private CmsmcService cmsmcService;

    @Resource
    private CmsmcMapper cmsmcMapper;

    @ApiOperation("仓库信息档Vo")
    @GetMapping("/selectCmsmcVo")
    public Result<List<CmsmcVo>> selectCmsmcVo(){
        List<CmsmcVo> cmsmcVoList= cmsmcMapper.selectCmsmcVo();
        return Result.success(cmsmcVoList);
    }






}
